import React from 'react';
import {Layout} from 'antd';
import projectConfig from '@/config/project.config';
const {Footer} = Layout;

export default props => (
    <Footer style={{textAlign: 'center'}}>
        <span>©{new Date().getFullYear()} </span>
        <span className="ui-m-5"> {projectConfig.projectName}</span>
        <span> Created by</span>
        <span className="ui-m-5">
            <a href="https://gitee.com/xieyejiang/react-craco-admin" rel="noopener noreferrer" target="_blank">
                {projectConfig.author}
            </a>
        </span>
    </Footer>
);
